import Layout from '@/layout/index.vue'

const branches = {
  path: '/branches',
  component: Layout,
  redirect: '/organization',
  meta: { title: '基础数据管理', icon: 'branches' },
  children: [
    {
      path: '/organization',
      name: '',
      component: () => import('@/views/essentialData/organization/organization.vue'),
      meta: { title: '机构管理' }
    },
    {
      path: '/institutions-area',
      name: '',
      component: () => import('@/views/essentialData/institutionsArea/institutionsArea.vue'),
      meta: { title: '机构作业范围' }
    },
    {
      path: '/freight',
      name: '',
      component: () => import('@/views/essentialData/freight/freight.vue'),
      meta: { title: '运费管理' }
    }
  ]
}

export default branches
